package models

import "time"

// MessageHistory 聊天记录表
type MessageHistory struct {
	Id        int       `json:"id" `
	Uid       int       `json:"uid" `
	FUuid     string    `json:"f_uuid" `
	MsgView   string    `json:"msg_view" `
	UnreadNum int       `json:"unread_num" `
	CreatedAt time.Time `json:"created_at" `
}

func (*MessageHistory) TableName() string {
	return "chat_message_history"
}
